package com.ti.andon.persistent.base;

import java.util.Date;


/**
 * AbstractAdFixRecordId entity provides the base persistence definition of the AdFixRecordId entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractAdFixRecord  implements java.io.Serializable {


    // Fields    

     private Long fixRecordId;
     private String fixRecordCode;
     private Date recordDate;
     private String shift;
     private String workGroup;
     private String equipCode;
     private String issueCode;
     private Date issueStart;
     private Date fixStart;
     private Date fixEnd;
     private Long responser1Id;
     private Long responser2Id;
     private Long responser3Id;
     private String comments;
     private Date createDate;
     private Date changeDate;
     private String createBy;
     private String changeBy;
     private String recStatus;

    // Constructors

    /** default constructor */
    public AbstractAdFixRecord() {
    }

	/** minimal constructor */
    public AbstractAdFixRecord(Long fixRecordId, String fixRecordCode, Date recordDate, String shift, String workGroup, String equipCode, String issueCode, Date issueStart, Long responser1Id, String recStatus) {
        this.fixRecordId = fixRecordId;
        this.fixRecordCode = fixRecordCode;
        this.recordDate = recordDate;
        this.shift = shift;
        this.workGroup = workGroup;
        this.equipCode = equipCode;
        this.issueCode = issueCode;
        this.issueStart = issueStart;
        this.responser1Id = responser1Id;
        this.recStatus=recStatus;
    }
    
    /** full constructor */
    public AbstractAdFixRecord(Long fixRecordId, String fixRecordCode, Date recordDate, String shift, String workGroup, String equipCode, String issueCode, Date issueStart, Date fixStart, Date fixEnd, Long responser1Id, Long responser2Id, Long responser3Id, String comments, Date createDate, Date changeDate, String createBy, String changeBy, String recStatus) {
        this.fixRecordId = fixRecordId;
        this.fixRecordCode = fixRecordCode;
        this.recordDate = recordDate;
        this.shift = shift;
        this.workGroup = workGroup;
        this.equipCode = equipCode;
        this.issueCode = issueCode;
        this.issueStart = issueStart;
        this.fixStart = fixStart;
        this.fixEnd = fixEnd;
        this.responser1Id = responser1Id;
        this.responser2Id = responser2Id;
        this.responser3Id = responser3Id;
        this.comments = comments;
        this.createDate = createDate;
        this.changeDate = changeDate;
        this.createBy = createBy;
        this.changeBy = changeBy;
        this.recStatus=recStatus;
    }

   
    // Property accessors

    public Long getFixRecordId() {
        return this.fixRecordId;
    }
    
    public void setFixRecordId(Long fixRecordId) {
        this.fixRecordId = fixRecordId;
    }

    public Date getRecordDate() {
        return this.recordDate;
    }
    
    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public String getShift() {
        return this.shift;
    }
    
    public void setShift(String shift) {
        this.shift = shift;
    }

    public String getWorkGroup() {
        return this.workGroup;
    }
    
    public void setWorkGroup(String workGroup) {
        this.workGroup = workGroup;
    }

    public String getEquipCode() {
        return this.equipCode;
    }
    
    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getIssueCode() {
        return this.issueCode;
    }
    
    public void setIssueCode(String issueCode) {
        this.issueCode = issueCode;
    }

    public Date getIssueStart() {
        return this.issueStart;
    }
    
    public void setIssueStart(Date issueStart) {
        this.issueStart = issueStart;
    }

    public Date getFixStart() {
        return this.fixStart;
    }
    
    public void setFixStart(Date fixStart) {
        this.fixStart = fixStart;
    }

    public Date getFixEnd() {
        return this.fixEnd;
    }
    
    public void setFixEnd(Date fixEnd) {
        this.fixEnd = fixEnd;
    }

    public Long getResponser1Id() {
        return this.responser1Id;
    }
    
    public void setResponser1Id(Long responser1Id) {
        this.responser1Id = responser1Id;
    }

    public Long getResponser2Id() {
        return this.responser2Id;
    }
    
    public void setResponser2Id(Long responser2Id) {
        this.responser2Id = responser2Id;
    }

    public Long getResponser3Id() {
        return this.responser3Id;
    }
    
    public void setResponser3Id(Long responser3Id) {
        this.responser3Id = responser3Id;
    }

    public String getComments() {
        return this.comments;
    }
    
    public void setComments(String comments) {
        this.comments = comments;
    }

    public Date getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getChangeDate() {
        return this.changeDate;
    }
    
    public void setChangeDate(Date changeDate) {
        this.changeDate = changeDate;
    }

    public String getCreateBy() {
        return this.createBy;
    }
    
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getChangeBy() {
        return this.changeBy;
    }
    
    public void setChangeBy(String changeBy) {
        this.changeBy = changeBy;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof AbstractAdFixRecord) ) return false;
		 AbstractAdFixRecord castOther = ( AbstractAdFixRecord ) other; 
         
		 return ( (this.getFixRecordId()==castOther.getFixRecordId()) || ( this.getFixRecordId()!=null && castOther.getFixRecordId()!=null && this.getFixRecordId().equals(castOther.getFixRecordId()) ) )
 && ( (this.getFixRecordCode()==castOther.getFixRecordCode()) || ( this.getFixRecordCode()!=null && castOther.getFixRecordCode()!=null && this.getFixRecordCode().equals(castOther.getFixRecordCode()) ) )		 
 && ( (this.getRecordDate()==castOther.getRecordDate()) || ( this.getRecordDate()!=null && castOther.getRecordDate()!=null && this.getRecordDate().equals(castOther.getRecordDate()) ) )
 && ( (this.getShift()==castOther.getShift()) || ( this.getShift()!=null && castOther.getShift()!=null && this.getShift().equals(castOther.getShift()) ) )
 && ( (this.getWorkGroup()==castOther.getWorkGroup()) || ( this.getWorkGroup()!=null && castOther.getWorkGroup()!=null && this.getWorkGroup().equals(castOther.getWorkGroup()) ) )
 && ( (this.getEquipCode()==castOther.getEquipCode()) || ( this.getEquipCode()!=null && castOther.getEquipCode()!=null && this.getEquipCode().equals(castOther.getEquipCode()) ) )
 && ( (this.getIssueCode()==castOther.getIssueCode()) || ( this.getIssueCode()!=null && castOther.getIssueCode()!=null && this.getIssueCode().equals(castOther.getIssueCode()) ) )
 && ( (this.getIssueStart()==castOther.getIssueStart()) || ( this.getIssueStart()!=null && castOther.getIssueStart()!=null && this.getIssueStart().equals(castOther.getIssueStart()) ) )
 && ( (this.getFixStart()==castOther.getFixStart()) || ( this.getFixStart()!=null && castOther.getFixStart()!=null && this.getFixStart().equals(castOther.getFixStart()) ) )
 && ( (this.getFixEnd()==castOther.getFixEnd()) || ( this.getFixEnd()!=null && castOther.getFixEnd()!=null && this.getFixEnd().equals(castOther.getFixEnd()) ) )
 && ( (this.getResponser1Id()==castOther.getResponser1Id()) || ( this.getResponser1Id()!=null && castOther.getResponser1Id()!=null && this.getResponser1Id().equals(castOther.getResponser1Id()) ) )
 && ( (this.getResponser2Id()==castOther.getResponser2Id()) || ( this.getResponser2Id()!=null && castOther.getResponser2Id()!=null && this.getResponser2Id().equals(castOther.getResponser2Id()) ) )
 && ( (this.getResponser3Id()==castOther.getResponser3Id()) || ( this.getResponser3Id()!=null && castOther.getResponser3Id()!=null && this.getResponser3Id().equals(castOther.getResponser3Id()) ) )
 && ( (this.getComments()==castOther.getComments()) || ( this.getComments()!=null && castOther.getComments()!=null && this.getComments().equals(castOther.getComments()) ) )
 && ( (this.getCreateDate()==castOther.getCreateDate()) || ( this.getCreateDate()!=null && castOther.getCreateDate()!=null && this.getCreateDate().equals(castOther.getCreateDate()) ) )
 && ( (this.getChangeDate()==castOther.getChangeDate()) || ( this.getChangeDate()!=null && castOther.getChangeDate()!=null && this.getChangeDate().equals(castOther.getChangeDate()) ) )
 && ( (this.getCreateBy()==castOther.getCreateBy()) || ( this.getCreateBy()!=null && castOther.getCreateBy()!=null && this.getCreateBy().equals(castOther.getCreateBy()) ) )
 && ( (this.getChangeBy()==castOther.getChangeBy()) || ( this.getChangeBy()!=null && castOther.getChangeBy()!=null && this.getChangeBy().equals(castOther.getChangeBy()) ) )
 && ( (this.getRecStatus()==castOther.getRecStatus()) || ( this.getRecStatus()!=null && castOther.getRecStatus()!=null && this.getRecStatus().equals(castOther.getRecStatus()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getFixRecordId() == null ? 0 : this.getFixRecordId().hashCode() );
         result = 37 * result + ( getRecordDate() == null ? 0 : this.getRecordDate().hashCode() );
         result = 37 * result + ( getShift() == null ? 0 : this.getShift().hashCode() );
         result = 37 * result + ( getWorkGroup() == null ? 0 : this.getWorkGroup().hashCode() );
         result = 37 * result + ( getEquipCode() == null ? 0 : this.getEquipCode().hashCode() );
         result = 37 * result + ( getIssueCode() == null ? 0 : this.getIssueCode().hashCode() );
         result = 37 * result + ( getIssueStart() == null ? 0 : this.getIssueStart().hashCode() );
         result = 37 * result + ( getFixStart() == null ? 0 : this.getFixStart().hashCode() );
         result = 37 * result + ( getFixEnd() == null ? 0 : this.getFixEnd().hashCode() );
         result = 37 * result + ( getResponser1Id() == null ? 0 : this.getResponser1Id().hashCode() );
         result = 37 * result + ( getResponser2Id() == null ? 0 : this.getResponser2Id().hashCode() );
         result = 37 * result + ( getResponser3Id() == null ? 0 : this.getResponser3Id().hashCode() );
         result = 37 * result + ( getComments() == null ? 0 : this.getComments().hashCode() );
         result = 37 * result + ( getCreateDate() == null ? 0 : this.getCreateDate().hashCode() );
         result = 37 * result + ( getChangeDate() == null ? 0 : this.getChangeDate().hashCode() );
         result = 37 * result + ( getCreateBy() == null ? 0 : this.getCreateBy().hashCode() );
         result = 37 * result + ( getChangeBy() == null ? 0 : this.getChangeBy().hashCode() );
         return result;
   }

/**
 * @return the fixRecordCode
 */
public String getFixRecordCode()
{
	return fixRecordCode;
}

/**
 * @param fixRecordCode the fixRecordCode to set
 */
public void setFixRecordCode(String fixRecordCode)
{
	this.fixRecordCode = fixRecordCode;
}

/**
 * @return the recStatus
 */
public String getRecStatus()
{
	return recStatus;
}

/**
 * @param recStatus the recStatus to set
 */
public void setRecStatus(String recStatus)
{
	this.recStatus = recStatus;
}   





}